Optimal. Leaf size=148 \[ \frac {13-6 x}{506 \left (2 x^2-x+3\right ) \left (5 x^2+3 x+2\right )^2}+\frac {3996965 x+1765599}{235352744 \left (5 x^2+3 x+2\right )}+\frac {5765 x-9446}{690184 \left (5 x^2+3 x+2\right )^2}+\frac {97 \log \left (2 x^2-x+3\right )}{468512}-\frac {97 \log \left (5 x^2+3 x+2\right )}{468512}-\frac {25557 \tan ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{5387888 \sqrt {23}}+\frac {4464079 \tan ^{-1}\left (\frac {10 x+3}{\sqrt {31}}\right )}{225120016 \sqrt {31}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.16, antiderivative size = 148, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 7, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {974, 1060, 1072, 634, 618, 204, 628} \[ -\frac {9446-5765 x}{690184 \left (5 x^2+3 x+2\right )^2}+\frac {3996965 x+1765599}{235352744 \left (5 x^2+3 x+2\right )}+\frac {13-6 x}{506 \left (2 x^2-x+3\right ) \left (5 x^2+3 x+2\right )^2}+\frac {97 \log \left (2 x^2-x+3\right )}{468512}-\frac {97 \log \left (5 x^2+3 x+2\right )}{468512}-\frac {25557 \tan ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{5387888 \sqrt {23}}+\frac {4464079 \tan ^{-1}\left (\frac {10 x+3}{\sqrt {31}}\right )}{225120016 \sqrt {31}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 204
Rule 618
Rule 628
Rule 634
Rule 974
Rule 1060
Rule 1072
Rubi steps
\begin {align*} \int \frac {1}{\left (3-x+2 x^2\right )^2 \left (2+3 x+5 x^2\right )^3} \, dx &=\frac {13-6 x}{506 \left (3-x+2 x^2\right ) \left (2+3 x+5 x^2\right )^2}-\frac {\int \frac {-2750-3531 x+1650 x^2}{\left (3-x+2 x^2\right ) \left (2+3 x+5 x^2\right )^3} \, dx}{5566}\\ &=-\frac {9446-5765 x}{690184 \left (2+3 x+5 x^2\right )^2}+\frac {13-6 x}{506 \left (3-x+2 x^2\right ) \left (2+3 x+5 x^2\right )^2}-\frac {\int \frac {-8251111+12910579 x-4185390 x^2}{\left (3-x+2 x^2\right ) \left (2+3 x+5 x^2\right )^2} \, dx}{83512264}\\ &=-\frac {9446-5765 x}{690184 \left (2+3 x+5 x^2\right )^2}+\frac {13-6 x}{506 \left (3-x+2 x^2\right ) \left (2+3 x+5 x^2\right )^2}+\frac {1765599+3996965 x}{235352744 \left (2+3 x+5 x^2\right )}-\frac {\int \frac {-20180265292+4607727674 x-21279841660 x^2}{\left (3-x+2 x^2\right ) \left (2+3 x+5 x^2\right )} \, dx}{626509004528}\\ &=-\frac {9446-5765 x}{690184 \left (2+3 x+5 x^2\right )^2}+\frac {13-6 x}{506 \left (3-x+2 x^2\right ) \left (2+3 x+5 x^2\right )^2}+\frac {1765599+3996965 x}{235352744 \left (2+3 x+5 x^2\right )}-\frac {\int \frac {-328196843326-125560688924 x}{3-x+2 x^2} \, dx}{151615179095776}-\frac {\int \frac {-1409076838004+313901722310 x}{2+3 x+5 x^2} \, dx}{151615179095776}\\ &=-\frac {9446-5765 x}{690184 \left (2+3 x+5 x^2\right )^2}+\frac {13-6 x}{506 \left (3-x+2 x^2\right ) \left (2+3 x+5 x^2\right )^2}+\frac {1765599+3996965 x}{235352744 \left (2+3 x+5 x^2\right )}+\frac {97 \int \frac {-1+4 x}{3-x+2 x^2} \, dx}{468512}-\frac {97 \int \frac {3+10 x}{2+3 x+5 x^2} \, dx}{468512}+\frac {25557 \int \frac {1}{3-x+2 x^2} \, dx}{10775776}+\frac {4464079 \int \frac {1}{2+3 x+5 x^2} \, dx}{450240032}\\ &=-\frac {9446-5765 x}{690184 \left (2+3 x+5 x^2\right )^2}+\frac {13-6 x}{506 \left (3-x+2 x^2\right ) \left (2+3 x+5 x^2\right )^2}+\frac {1765599+3996965 x}{235352744 \left (2+3 x+5 x^2\right )}+\frac {97 \log \left (3-x+2 x^2\right )}{468512}-\frac {97 \log \left (2+3 x+5 x^2\right )}{468512}-\frac {25557 \operatorname {Subst}\left (\int \frac {1}{-23-x^2} \, dx,x,-1+4 x\right )}{5387888}-\frac {4464079 \operatorname {Subst}\left (\int \frac {1}{-31-x^2} \, dx,x,3+10 x\right )}{225120016}\\ &=-\frac {9446-5765 x}{690184 \left (2+3 x+5 x^2\right )^2}+\frac {13-6 x}{506 \left (3-x+2 x^2\right ) \left (2+3 x+5 x^2\right )^2}+\frac {1765599+3996965 x}{235352744 \left (2+3 x+5 x^2\right )}-\frac {25557 \tan ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{5387888 \sqrt {23}}+\frac {4464079 \tan ^{-1}\left (\frac {3+10 x}{\sqrt {31}}\right )}{225120016 \sqrt {31}}+\frac {97 \log \left (3-x+2 x^2\right )}{468512}-\frac {97 \log \left (2+3 x+5 x^2\right )}{468512}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 136, normalized size = 0.92 \[ \frac {90 x-11}{244904 \left (2 x^2-x+3\right )}+\frac {164380 x+67573}{10232728 \left (5 x^2+3 x+2\right )}+\frac {345 x-98}{30008 \left (5 x^2+3 x+2\right )^2}+\frac {97 \log \left (2 x^2-x+3\right )}{468512}-\frac {97 \log \left (5 x^2+3 x+2\right )}{468512}+\frac {25557 \tan ^{-1}\left (\frac {4 x-1}{\sqrt {23}}\right )}{5387888 \sqrt {23}}+\frac {4464079 \tan ^{-1}\left (\frac {10 x+3}{\sqrt {31}}\right )}{225120016 \sqrt {31}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.07, size = 237, normalized size = 1.60 \[ \frac {1253927859800 \, x^{5} + 679296504260 \, x^{4} + 2185021181068 \, x^{3} + 4722995582 \, \sqrt {31} {\left (50 \, x^{6} + 35 \, x^{5} + 103 \, x^{4} + 85 \, x^{3} + 83 \, x^{2} + 32 \, x + 12\right )} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) + 1522737174 \, \sqrt {23} {\left (50 \, x^{6} + 35 \, x^{5} + 103 \, x^{4} + 85 \, x^{3} + 83 \, x^{2} + 32 \, x + 12\right )} \arctan \left (\frac {1}{23} \, \sqrt {23} {\left (4 \, x - 1\right )}\right ) + 1500218514344 \, x^{2} - 1528665583 \, {\left (50 \, x^{6} + 35 \, x^{5} + 103 \, x^{4} + 85 \, x^{3} + 83 \, x^{2} + 32 \, x + 12\right )} \log \left (5 \, x^{2} + 3 \, x + 2\right ) + 1528665583 \, {\left (50 \, x^{6} + 35 \, x^{5} + 103 \, x^{4} + 85 \, x^{3} + 83 \, x^{2} + 32 \, x + 12\right )} \log \left (2 \, x^{2} - x + 3\right ) + 1338609358240 \, x + 218880812656}{7383486284768 \, {\left (50 \, x^{6} + 35 \, x^{5} + 103 \, x^{4} + 85 \, x^{3} + 83 \, x^{2} + 32 \, x + 12\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 110, normalized size = 0.74 \[ \frac {4464079}{6978720496} \, \sqrt {31} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) + \frac {25557}{123921424} \, \sqrt {23} \arctan \left (\frac {1}{23} \, \sqrt {23} {\left (4 \, x - 1\right )}\right ) + \frac {39969650 \, x^{5} + 21652955 \, x^{4} + 69648769 \, x^{3} + 47820302 \, x^{2} + 42668920 \, x + 6976948}{235352744 \, {\left (5 \, x^{2} + 3 \, x + 2\right )}^{2} {\left (2 \, x^{2} - x + 3\right )}} - \frac {97}{468512} \, \log \left (5 \, x^{2} + 3 \, x + 2\right ) + \frac {97}{468512} \, \log \left (2 \, x^{2} - x + 3\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 106, normalized size = 0.72 \[ \frac {4464079 \sqrt {31}\, \arctan \left (\frac {\left (10 x +3\right ) \sqrt {31}}{31}\right )}{6978720496}+\frac {25557 \sqrt {23}\, \arctan \left (\frac {\left (4 x -1\right ) \sqrt {23}}{23}\right )}{123921424}+\frac {97 \ln \left (2 x^{2}-x +3\right )}{468512}-\frac {97 \ln \left (5 x^{2}+3 x +2\right )}{468512}-\frac {25 \left (-\frac {723272}{961} x^{3}-\frac {3656422}{4805} x^{2}-\frac {14280728}{24025} x -\frac {2238016}{24025}\right )}{234256 \left (5 x^{2}+3 x +2\right )^{2}}+\frac {\frac {990 x}{23}-\frac {121}{23}}{234256 x^{2}-117128 x +351384} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.97, size = 118, normalized size = 0.80 \[ \frac {4464079}{6978720496} \, \sqrt {31} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) + \frac {25557}{123921424} \, \sqrt {23} \arctan \left (\frac {1}{23} \, \sqrt {23} {\left (4 \, x - 1\right )}\right ) + \frac {39969650 \, x^{5} + 21652955 \, x^{4} + 69648769 \, x^{3} + 47820302 \, x^{2} + 42668920 \, x + 6976948}{235352744 \, {\left (50 \, x^{6} + 35 \, x^{5} + 103 \, x^{4} + 85 \, x^{3} + 83 \, x^{2} + 32 \, x + 12\right )}} - \frac {97}{468512} \, \log \left (5 \, x^{2} + 3 \, x + 2\right ) + \frac {97}{468512} \, \log \left (2 \, x^{2} - x + 3\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.59, size = 135, normalized size = 0.91 \[ \frac {\frac {799393\,x^5}{235352744}+\frac {4330591\,x^4}{2353527440}+\frac {69648769\,x^3}{11767637200}+\frac {23910151\,x^2}{5883818600}+\frac {1066723\,x}{294190930}+\frac {158567}{267446300}}{x^6+\frac {7\,x^5}{10}+\frac {103\,x^4}{50}+\frac {17\,x^3}{10}+\frac {83\,x^2}{50}+\frac {16\,x}{25}+\frac {6}{25}}+\ln \left (x-\frac {1}{4}+\frac {\sqrt {23}\,1{}\mathrm {i}}{4}\right )\,\left (\frac {97}{468512}+\frac {\sqrt {23}\,25557{}\mathrm {i}}{247842848}\right )-\ln \left (x-\frac {1}{4}-\frac {\sqrt {23}\,1{}\mathrm {i}}{4}\right )\,\left (-\frac {97}{468512}+\frac {\sqrt {23}\,25557{}\mathrm {i}}{247842848}\right )-\ln \left (x+\frac {3}{10}-\frac {\sqrt {31}\,1{}\mathrm {i}}{10}\right )\,\left (\frac {97}{468512}+\frac {\sqrt {31}\,4464079{}\mathrm {i}}{13957440992}\right )+\ln \left (x+\frac {3}{10}+\frac {\sqrt {31}\,1{}\mathrm {i}}{10}\right )\,\left (-\frac {97}{468512}+\frac {\sqrt {31}\,4464079{}\mathrm {i}}{13957440992}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.40, size = 143, normalized size = 0.97 \[ \frac {39969650 x^{5} + 21652955 x^{4} + 69648769 x^{3} + 47820302 x^{2} + 42668920 x + 6976948}{11767637200 x^{6} + 8237346040 x^{5} + 24241332632 x^{4} + 20004983240 x^{3} + 19534277752 x^{2} + 7531287808 x + 2824232928} + \frac {97 \log {\left (x^{2} - \frac {x}{2} + \frac {3}{2} \right )}}{468512} - \frac {97 \log {\left (x^{2} + \frac {3 x}{5} + \frac {2}{5} \right )}}{468512} + \frac {25557 \sqrt {23} \operatorname {atan}{\left (\frac {4 \sqrt {23} x}{23} - \frac {\sqrt {23}}{23} \right )}}{123921424} + \frac {4464079 \sqrt {31} \operatorname {atan}{\left (\frac {10 \sqrt {31} x}{31} + \frac {3 \sqrt {31}}{31} \right )}}{6978720496} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________